package com.lottery.game.core.model.dto.game;

import java.util.Date;

import javax.persistence.Column;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class GameIssue {

	private String id;

	private String roomId;
	/**
	 * 玩法编号
	 */
	@Column(name = "game_type_playing_ticket")
	@ApiModelProperty(value = "游戏玩法编号")
	private Integer gameTypePlayingTicket;

	/**
	 * 系统期次号
	 */
	private String issue;

	/**
	 * 第三方期次号
	 */
	private String issueApi;
	//游戏状态 0正在进行，1已封盘 ，2已开奖，计算完  。-1开奖异常
	private String status;
	private Date createTime;
	private Date closeTime;
	private Date openTime;
	private String note;
	private String resultStr;
	//剩余游戏持续时间秒
	private int duration;

	//查询参数 当前时间
	private Date currentTime;
}
